package demo1;

import java.util.Scanner;

public class Day0301 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        String str = in.nextLine();
        str = str.toUpperCase();
        String[] arr = str.split(" ");
        for (int i = 0; i < arr.length; i++) {
            char ch = arr[i].charAt(0);
            System.out.print(ch);
        }
    }
}
